﻿using System.Text.Json.Serialization;

namespace Rswl.Common.Core.User.Aggregate.ValueObject
{
    public class PasswordRegisterValueObject
    {
        public string UserId { get; set; }
        [JsonPropertyName("username")]
        public string UserName { get; set; }

        [JsonPropertyName("truename")]
        public string TrueName { get; set; } = "";

		[JsonPropertyName("phone")]
        public string Phone { get; set; } = "";
		[JsonPropertyName("password1")]
        public string Password1 { get; set; }

        [JsonPropertyName("password2")]
        public string Password2 { get; set; }

        [JsonPropertyName("safecode")]
        public string SafeCode { get; set; }

        [JsonPropertyName("inviteCode")]
        public string InviteCode { get; set; } = "";

        public bool VerifySafeCode { get; set; } = true;


        public string[] UserRoles { get; set; }=new string[] { };
    }
}
